<?php
declare (strict_types = 1);


namespace app\home\model;
use think\Model;


/**
 * @mixin \think\Model
 */
class GoodsDiscount extends Model
{
    protected $name="goods_discount";



    public function goodsLevelDiscount($levelId,$goodsId){
        $goodsDiscountInfo = $this->where(['level_id' =>$levelId, 'goods_id' => $goodsId])->find();
        return $goodsDiscountInfo;
    }



}



